package com.zq.annotation;

import com.zq.annotation.type.CheckRolesType;

import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CheckRoles {
    String[] value();
    String msg() default "Check role failed,maybe you don't have role(s) to access the current interface";
    CheckRolesType type() default CheckRolesType.OR;
}
